{ return number of encodings types supported by user's configuraton of the encoding converter }
FUNCTION CountAvailableTextEncodings(VAR numberOfMappings: ItemCount): OSStatus;
{$IFC NOT GENERATINGCFM}
INLINE $303C, $021A, $ABCE;
{$ENDC}
{ fill in an array of type TextEncoding passed in by the user with types of encodings the current configuration of the encoder can handle. }
FUNCTION GetAvailableTextEncodings(VAR availableEncodings: TextEncoding; maxAvailableEncodings: ItemCount; VAR actualAvailableEncodings: ItemCount): OSStatus;
{$IFC NOT GENERATINGCFM}
INLINE $303C, $061B, $ABCE;
{$ENDC}
{ create a converter object with default conversion characteristics }
FUNCTION NewEncodingConverter(VAR newEncodingConverter: EncodingConverterRef; inputEncoding: TextEncoding; outputEncoding: TextEncoding): OSStatus;
{$IFC NOT GENERATINGCFM}
INLINE $303C, $061C, $ABCE;
{$ENDC}
{ disose and encoding converter object }
FUNCTION DisposeEncodingConverter(VAR newEncodingConverter: EncodingConverterRef): OSStatus;
{$IFC NOT GENERATINGCFM}
INLINE $303C, $021D, $ABCE;
{$ENDC}
{ manage substitution lists }
FUNCTION SetConverterSubstitutionList(VAR encodingConverter: EncodingConverterRef; VAR charSubstitutionPtr: CharSubstitutionList): OSStatus;
{$IFC NOT GENERATINGCFM}
INLINE $303C, $041E, $ABCE;
{$ENDC}
FUNCTION GetConverterSubstitutionListCount(VAR encodingConverter: EncodingConverterRef; VAR count: ItemCount): OSStatus;
{$IFC NOT GENERATINGCFM}
INLINE $303C, $041F, $ABCE;
{$ENDC}
FUNCTION GetConverterSubstitutionList(VAR encodingConverter: EncodingConverterRef; VAR charSubstitutionPtr: CharSubstitutionList): OSStatus;
{$IFC NOT GENERATINGCFM}
INLINE $303C, $0220, $ABCE;
{$ENDC}
{ manage invalid character lists }
FUNCTION SetConverterInvalidCharRangeList(VAR encodingConverter: EncodingConverterRef; VAR invalidCharPtr: InvalidCharRangeList): OSStatus;
{$IFC NOT GENERATINGCFM}
INLINE $303C, $0421, $ABCE;
{$ENDC}
FUNCTION GetConverterInvalidCharRangeListCount(VAR encodingConverter: EncodingConverterRef; VAR count: ItemCount): OSStatus;
{$IFC NOT GENERATINGCFM}
INLINE $303C, $0422, $ABCE;
{$ENDC}
FUNCTION GetConverterInvalidCharRangeList(VAR encodingConverter: EncodingConverterRef; VAR invalidCharPtr: InvalidCharRangeList): OSStatus;
{$IFC NOT GENERATINGCFM}
INLINE $303C, $0423, $ABCE;
{$ENDC}
FUNCTION ConvertTextEncoding(VAR encodingConverter: EncodingConverterRef; clearContext: BOOLEAN; VAR inputText: BytePtr; VAR inputLength: ByteCount; outputBuffer: BytePtr; outputBufferSize: ByteCount; VAR actualOutputLength: ByteCount): OSStatus;
{$IFC NOT GENERATINGCFM}
INLINE $303C, $1024, $ABCE;
{$ENDC}
FUNCTION ExamineTextEncoding(VAR inputText: BytePtr; VAR inputLength: ByteCount; VAR availableEncodings: TextEncoding; maxAvailableEncodings: ItemCount; VAR validEncoding: BOOLEAN): OSStatus;